package com.abaaba.project2.bean.vo.wx;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WXHomeIndexGoodsAndAllVO {

    /**
     * errno : 0
     * data : {"newGoodsList":[{"id":1181048,"name":"JAY","brief":"简介","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/qmjidktaa711ew2qewew.jpg","isNew":true,"isHot":false,"counterPrice":333,"retailPrice":333},{"id":1181010,"name":"如何让富婆爱上你","brief":"好用","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/4b8kqfxccfd4ggxlnpyj.jpg","isNew":true,"isHot":true,"counterPrice":99,"retailPrice":88},{"id":1055012,"name":"300根全棉羽丝绒抱枕芯","brief":"仪征3D填充，充实的满足感1","picUrl":"http://yanxuan.nosdn.127.net/3d437c8d68e2ec3f3dd61001bf98f16e.png","isNew":true,"isHot":true,"counterPrice":59,"retailPrice":391},{"id":1181000,"name":"母亲节礼物-舒适安睡组合","brief":"安心舒适是最好的礼物","picUrl":"http://yanxuan.nosdn.127.net/1f67b1970ee20fd572b7202da0ff705d.png","isNew":true,"isHot":false,"counterPrice":2618,"retailPrice":2598},{"id":1116011,"name":"蔓越莓曲奇 200克","brief":"酥脆奶香，甜酸回味","picUrl":"http://yanxuan.nosdn.127.net/767b370d07f3973500db54900bcbd2a7.png","isNew":true,"isHot":true,"counterPrice":56,"retailPrice":36},{"id":1127047,"name":"趣味粉彩系列笔记本","brief":"粉彩色泽，记录生活","picUrl":"http://yanxuan.nosdn.127.net/6c03ca93d8fe404faa266ea86f3f1e43.png","isNew":true,"isHot":false,"counterPrice":49,"retailPrice":29}],"couponList":[{"id":49,"name":"球衣优惠券","desc":"球衣","tag":"好活","discount":90,"min":10000,"days":0,"startTime":"2021-06-07 11:04:36","endTime":"2021-06-30 00:00:00"},{"id":25,"name":"李宁满减券","desc":"满减","tag":"sport","discount":50,"min":500,"days":30},{"id":24,"name":"安踏满减券","desc":"满减","tag":"sport","discount":20,"min":200,"days":30}],"channel":[{"id":1036066,"name":"数码3C","iconUrl":"http://182.92.235.201:8083/wx/storage/fetch/2aegvpr1eeh8yp72o6l4.jfif"},{"id":1036068,"name":"家具家私","iconUrl":"http://182.92.235.201:8083/wx/storage/fetch/v3y33b7xk6cdf1wk6laj.jpg"},{"id":1036070,"name":"一级类目","iconUrl":"http://182.92.235.201:8083/wx/storage/fetch/otqyiixpdpo1ctjlyp10.jpg"},{"id":1036071,"name":"水果生鲜","iconUrl":"http://182.92.235.201:8083/wx/storage/fetch/n6ble5gsy5sszg8u1vh1.jpg"},{"id":1036075,"name":"服装2","iconUrl":""}],"grouponList":[{"groupon_price":68,"goods":{"id":1110019,"name":"宠物合金钢安全除菌指甲护理组合","brief":"猫狗皆可用，保护家具","picUrl":"http://yanxuan.nosdn.127.net/1e7e392b6fc9da99dc112197b7444eec.png","counterPrice":89,"retailPrice":69},"groupon_member":5},{"groupon_price":64,"goods":{"id":1110019,"name":"宠物合金钢安全除菌指甲护理组合","brief":"猫狗皆可用，保护家具","picUrl":"http://yanxuan.nosdn.127.net/1e7e392b6fc9da99dc112197b7444eec.png","counterPrice":89,"retailPrice":69},"groupon_member":5},{"groupon_price":54,"goods":{"id":1009012,"name":"可水洗舒柔丝羽绒枕","brief":"超细纤维，蓬松轻盈回弹","picUrl":"http://yanxuan.nosdn.127.net/a196b367f23ccfd8205b6da647c62b84.png","counterPrice":79,"retailPrice":59},"groupon_member":3},{"groupon_price":891,"goods":{"id":1006002,"name":"轻奢纯棉刺绣水洗四件套","brief":"设计师原款，精致绣花","picUrl":"http://yanxuan.nosdn.127.net/8ab2d3287af0cefa2cc539e40600621d.png","counterPrice":919,"retailPrice":899},"groupon_member":5}],"banner":[{"id":2,"name":"活动 美食节","link":"","url":"http://yanxuan.nosdn.127.net/bff2e49136fcef1fd829f5036e07f116.jpg","position":1,"content":"活动 美食节","enabled":true,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":3,"name":"活动 母亲节","link":"","url":"http://yanxuan.nosdn.127.net/8e50c65fda145e6dd1bf4fb7ee0fcecc.jpg","position":1,"content":"活动 母亲节5","enabled":true,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":6,"name":"2","link":"","url":"http://182.92.235.201:8083/wx/storage/fetch/71tk5m44o7578s2lxf9z.jpg","position":1,"content":"12345","enabled":true,"addTime":"2021-06-04 21:22:04","updateTime":"2021-06-05 00:13:08","deleted":false},{"id":15,"name":"lufi","link":"123123123","url":"http://182.92.235.201:8083/wx/storage/fetch/iy8rl5elbk9jdxvbh0na.jpg","position":1,"content":"monkey","enabled":true,"addTime":"2021-06-05 08:55:55","updateTime":"2021-06-05 08:55:55","deleted":false},{"id":21,"name":"1","link":"","url":"http://182.92.235.201:8083/wx/storage/fetch/qlutpkp77e0tkk5k97gs.jpg","position":1,"content":"1","enabled":true,"addTime":"2021-06-05 11:06:46","updateTime":"2021-06-05 11:38:05","deleted":false},{"id":28,"name":"2","link":"","url":"http://182.92.235.201:8083/wx/storage/fetch/4n0sxktrkhnkumuc2q4u.jpg","position":1,"content":"2","enabled":true,"addTime":"2021-06-05 19:05:44","updateTime":"2021-06-05 19:25:23","deleted":false},{"id":30,"name":"红酒","link":"","url":"http://182.92.235.201:8083/wx/storage/fetch/oxhd9h5yq9f54zw301b2.jpg","position":1,"content":"饭后一杯","enabled":true,"addTime":"2021-06-05 19:47:52","updateTime":"2021-06-05 22:12:21","deleted":false},{"id":31,"name":"123","link":"1234","url":"http://182.92.235.201:8083/wx/storage/fetch/kuultejxpltxa2e54tw3.jpg","position":1,"content":"321wwww","enabled":true,"addTime":"2021-06-05 21:09:41","updateTime":"2021-06-05 21:25:21","deleted":false},{"id":33,"name":"zdasd","link":"asdasdas","url":"http://182.92.235.201:8083/wx/storage/fetch/wk7omjpzclqdrrcid0c5.jpg","position":1,"content":"dsadasd","enabled":true,"addTime":"2021-06-05 21:24:56","updateTime":"2021-06-05 21:24:56","deleted":false},{"id":34,"name":"qwe","link":"asd","url":"http://182.92.235.201:8083/wx/storage/fetch/by8mtsh8thixyhfg2mcs.jpg","position":1,"content":"asd","enabled":true,"addTime":"2021-06-05 21:33:40","updateTime":"2021-06-05 21:33:40","deleted":false},{"id":35,"name":"1","link":"11122","url":"http://182.92.235.201:8083/wx/storage/fetch/ukxltayxtkav2zj8xasc.jpg","position":1,"content":"1","enabled":true,"addTime":"2021-06-05 21:53:25","updateTime":"2021-06-05 22:11:51","deleted":false},{"id":36,"name":"345","link":"123","url":"http://182.92.235.201:8083/wx/storage/fetch/dusx9dhof30rbvzlqfb1.jpg","position":1,"content":"321","enabled":true,"addTime":"2021-06-05 21:54:44","updateTime":"2021-06-05 22:32:08","deleted":false},{"id":38,"name":"111","link":"","url":"http://182.92.235.201:8083/wx/storage/fetch/8sqkpfwra0ubk0k4l01i.jpg","position":1,"content":"222","enabled":true,"addTime":"2021-06-05 23:41:07","updateTime":"2021-06-06 10:47:58","deleted":false},{"id":39,"name":"12","link":"","url":"http://182.92.235.201:8083/wx/storage/fetch/h8mp0dogf56cickowfl1.jpg","position":1,"content":"1","enabled":true,"addTime":"2021-06-06 11:24:15","updateTime":"2021-06-06 11:24:18","deleted":false},{"id":40,"name":"123","link":"","url":"http://182.92.235.201:8083/wx/storage/fetch/vu0awi42oqemg2iafa62.jpg","position":1,"content":"123","enabled":true,"addTime":"2021-06-06 17:17:55","updateTime":"2021-06-06 17:17:55","deleted":false},{"id":41,"name":"asd","link":"asd","url":"http://182.92.235.201:8083/wx/storage/fetch/w1uwq8jc9m79hahoen9d.jpg","position":1,"content":"asd","enabled":true,"addTime":"2021-06-06 21:38:59","updateTime":"2021-06-06 21:38:59","deleted":false},{"id":42,"name":"q","link":"q","url":"http://182.92.235.201:8083/wx/storage/fetch/hpj62ilht35d07n41ynq.jpg","position":1,"content":"q","enabled":true,"addTime":"2021-06-06 22:42:32","updateTime":"2021-06-06 22:42:32","deleted":false}],"brandList":[{"id":1046035,"name":"test制造商","desc":"全球知名","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/8yv99c5th1v2oi39fa6s.jpg","floorPrice":101},{"id":1046034,"name":"111","desc":"威威","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/869jn3371qv3cj5skcus.jpg","floorPrice":44},{"id":1046033,"name":"操作日志测试","desc":"1","picUrl":"","floorPrice":1},{"id":1001000,"name":"MUJI制造商","desc":"严选精选了MUJI制造商和生产原料，\n用几乎零利润的价格，剔除品牌溢价，\n让用户享受原品牌的品质生活。","picUrl":"http://yanxuan.nosdn.127.net/1541445967645114dd75f6b0edc4762d.png","floorPrice":12.9}],"hotGoodsList":[{"id":1181052,"name":"Jack次幂","brief":"穿插进认为","picUrl":"","isNew":false,"isHot":true,"counterPrice":12,"retailPrice":12},{"id":1181010,"name":"如何让富婆爱上你","brief":"好用","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/4b8kqfxccfd4ggxlnpyj.jpg","isNew":true,"isHot":true,"counterPrice":99,"retailPrice":88},{"id":1152008,"name":"魔兽世界 部落 护腕 一只","brief":"吸汗、舒适、弹性、防护、耐用","picUrl":"http://yanxuan.nosdn.127.net/203cb83d93606865e3ddde57b69b9e9a.png","isNew":false,"isHot":true,"counterPrice":49,"retailPrice":29},{"id":1152009,"name":"魔兽世界 联盟 护腕 一只","brief":"吸汗、舒适、弹性、防护、耐用","picUrl":"http://yanxuan.nosdn.127.net/ae6d41117717387b82dcaf1dfce0cd97.png","isNew":false,"isHot":true,"counterPrice":49,"retailPrice":29},{"id":1152031,"name":"魔兽世界-伊利丹颈枕眼罩套装","brief":"差旅好伴侣","picUrl":"http://yanxuan.nosdn.127.net/fd6e78a397bd9e9804116a36f0270b0a.png","isNew":false,"isHot":true,"counterPrice":119,"retailPrice":99},{"id":1055012,"name":"300根全棉羽丝绒抱枕芯","brief":"仪征3D填充，充实的满足感1","picUrl":"http://yanxuan.nosdn.127.net/3d437c8d68e2ec3f3dd61001bf98f16e.png","isNew":true,"isHot":true,"counterPrice":59,"retailPrice":391}],"topicList":[{"id":339,"title":"q","subtitle":"q","price":1,"readCount":"1","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/m3h4lz0uhgapsxai411j.jpg"},{"id":338,"title":"q","subtitle":"q","price":1,"readCount":"1","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/dj3pysxula3enb7l1r6w.jpg"},{"id":337,"title":"111","subtitle":"111","price":1,"readCount":"1","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/wu1wfw116r37icnht28u.jpg"},{"id":333,"title":"2","subtitle":"1","price":1,"readCount":"1","picUrl":"http://182.92.235.201:8083/wx/storage/fetch/gsomn6f2b4nj3jlrb23q.jpg"}],"floorGoodsList":[{"name":"数码3C","goodsList":[],"id":1036066},{"name":"家具家私","goodsList":[{"id":1027004,"name":"色织六层纱布夏凉被","brief":"柔软纱布，婴童可用","picUrl":"http://yanxuan.nosdn.127.net/6252f53aaf36c072b6678f3d8c635132.png","isNew":false,"isHot":true,"counterPrice":269,"retailPrice":249},{"id":1110003,"name":"全棉针织条纹四件套 新款","brief":"裸睡享受，柔软透气有弹性","picUrl":"http://yanxuan.nosdn.127.net/72dfb4bfc1cd1b834c064a9d1d40627d.png","isNew":false,"isHot":false,"counterPrice":319,"retailPrice":299},{"id":1110004,"name":"全棉针织纯色四件套","brief":"日系纯色，面料轻柔舒透","picUrl":"http://yanxuan.nosdn.127.net/1ffd5831e63027715445f74a28f8c4ed.png","isNew":false,"isHot":false,"counterPrice":319,"retailPrice":299}],"id":1036068},{"name":"一级类目","goodsList":[],"id":1036070},{"name":"水果生鲜","goodsList":[],"id":1036071}]}
     * errmsg : 成功
     */

    private Integer errno;
    private DataBean data;
    private String errmsg;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class DataBean {
        private List<NewGoodsListBean> newGoodsList;
        private List<CouponListBean> couponList;
        private List<ChannelBean> channel;
        private List<GrouponListBean> grouponList;
        private List<BannerBean> banner;
        private List<BrandListBean> brandList;
        private List<HotGoodsListBean> hotGoodsList;
        private List<TopicListBean> topicList;
        private List<FloorGoodsListBean> floorGoodsList;

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class NewGoodsListBean {
            /**
             * id : 1181048
             * name : JAY
             * brief : 简介
             * picUrl : http://182.92.235.201:8083/wx/storage/fetch/qmjidktaa711ew2qewew.jpg
             * isNew : true
             * isHot : false
             * counterPrice : 333
             * retailPrice : 333
             */

            private Integer id;
            private String name;
            private String brief;
            private String picUrl;
            private Boolean isNew;
            private Boolean isHot;
            private BigDecimal counterPrice;
            private BigDecimal retailPrice;

        }

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class CouponListBean {
            /**
             * id : 49
             * name : 球衣优惠券
             * desc : 球衣
             * tag : 好活
             * discount : 90
             * min : 10000
             * days : 0
             * startTime : 2021-06-07 11:04:36
             * endTime : 2021-06-30 00:00:00
             */

            private Integer id;
            private String name;
            private String desc;
            private String tag;
            private BigDecimal discount;
            private BigDecimal min;
            private int days;
            private String startTime;
            private String endTime;
        }

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class ChannelBean {
            /**
             * id : 1036066
             * name : 数码3C
             * iconUrl : http://182.92.235.201:8083/wx/storage/fetch/2aegvpr1eeh8yp72o6l4.jfif
             */

            private Integer id;
            private String name;
            private String iconUrl;
        }

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class GrouponListBean {
            /**
             * groupon_price : 68
             * goods : {"id":1110019,"name":"宠物合金钢安全除菌指甲护理组合","brief":"猫狗皆可用，保护家具","picUrl":"http://yanxuan.nosdn.127.net/1e7e392b6fc9da99dc112197b7444eec.png","counterPrice":89,"retailPrice":69}
             * groupon_member : 5
             */

            private Integer groupon_price;
            private GoodsBean goods;
            private Integer groupon_member;

            @Data
            @AllArgsConstructor
            @NoArgsConstructor
            public static class GoodsBean {
                /**
                 * id : 1110019
                 * name : 宠物合金钢安全除菌指甲护理组合
                 * brief : 猫狗皆可用，保护家具
                 * picUrl : http://yanxuan.nosdn.127.net/1e7e392b6fc9da99dc112197b7444eec.png
                 * counterPrice : 89
                 * retailPrice : 69
                 */

                private Integer id;
                private String name;
                private String brief;
                private String picUrl;
                private Integer counterPrice;
                private Integer retailPrice;

            }
        }

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class BannerBean {
            /**
             * id : 2
             * name : 活动 美食节
             * link :
             * url : http://yanxuan.nosdn.127.net/bff2e49136fcef1fd829f5036e07f116.jpg
             * position : 1
             * content : 活动 美食节
             * enabled : true
             * addTime : 2018-02-01 00:00:00
             * updateTime : 2018-02-01 00:00:00
             * deleted : false
             */

            private Integer id;
            private String name;
            private String link;
            private String url;
            private Byte position;
            private String content;
            private Boolean enabled;
            private Date addTime;
            private Date updateTime;
            private Boolean deleted;

        }

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class BrandListBean {
            /**
             * id : 1046035
             * name : test制造商
             * desc : 全球知名
             * picUrl : http://182.92.235.201:8083/wx/storage/fetch/8yv99c5th1v2oi39fa6s.jpg
             * floorPrice : 101
             */

            private Integer id;
            private String name;
            private String desc;
            private String picUrl;
            private BigDecimal floorPrice;

        }

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class HotGoodsListBean {
            /**
             * id : 1181052
             * name : Jack次幂
             * brief : 穿插进认为
             * picUrl :
             * isNew : false
             * isHot : true
             * counterPrice : 12
             * retailPrice : 12
             */

            private Integer id;
            private String name;
            private String brief;
            private String picUrl;
            private Boolean isNew;
            private Boolean isHot;
            private BigDecimal counterPrice;
            private BigDecimal retailPrice;


        }

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class TopicListBean {
            /**
             * id : 339
             * title : q
             * subtitle : q
             * price : 1
             * readCount : 1
             * picUrl : http://182.92.235.201:8083/wx/storage/fetch/m3h4lz0uhgapsxai411j.jpg
             */

            private Integer id;
            private String title;
            private String subtitle;
            private BigDecimal price;
            private String readCount;
            private String picUrl;

        }

        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class FloorGoodsListBean {
            /**
             * name : 数码3C
             * goodsList : []
             * id : 1036066
             */

            private String name;
            private Integer id;
            private List<WXFloorGoodsListBeanVO> goodsList;

        }
    }
}
